/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

/**
 *
 * @author elio
 */
public class geracao {
    public static void main(String[] args) {
        AnnotationConfiguration cfg = new AnnotationConfiguration();
        cfg.addAnnotatedClass(Usuario.class);
        cfg.addAnnotatedClass(Documento.class);
        new SchemaExport(cfg).create(true,true);
    }
}
